package com.utils;

import com.google.gson.JsonArray;
import com.google.gson.JsonIOException;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.google.gson.JsonSyntaxException;

public class RJSONNetEasepic {
	private static JsonObject subObject = new JsonObject();

	public static JsonObject parseJSON(JsonObject songs) {
		try {
			subObject = songs.get("album").getAsJsonObject();
		} catch (JsonIOException e) {
			e.printStackTrace();
		} catch (JsonSyntaxException e) {
			e.printStackTrace();
		}
		return subObject;
	}
}
